package com.xiguanlezz.cn.service;

import com.xiguanlezz.cn.User;
import com.xiguanlezz.cn.UserService;
import lombok.extern.slf4j.Slf4j;
import org.apache.thrift.TException;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/10/27 21:36
 * @Description：用户服务具体实现类
 */
@Slf4j
public class UserServiceImpl implements UserService.Iface {
    @Override
    public boolean login(String name, String password) throws TException {
        log.debug("login method invoke name: {}, password: {}", name, password);
        return true;
    }

    @Override
    public void register(User user) throws TException {
        log.debug("login register invoke user: {}", user);
    }
}
